﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
using SnackXpress.Ingredienten;
using SnackXpress.Client;

namespace SnackXpress.abstract_factory
{
    public class McDonaldFactory : ISnackXpressFactory
    {
        public IBread CreateBread(Snack snack)
        {
            return new BrownBread(snack);
        }

        public List<ISauce> CreateSauces()
        {
            List<ISauce> list = new List<ISauce>();
            CurrySauce curry = new CurrySauce();
            KetchupSauce ketchup = new KetchupSauce();
            
            list.Add(curry);
            list.Add(ketchup);

            return list;
        }

        public List<IVegetable> CreateVegetables()
        {
            List<IVegetable> list = new List<IVegetable>();
            list.Add(new Carrot());
            list.Add(new DutchTomato());
            list.Add(new Salad());
            list.Add(new SpanishTomato());

            return list;
        }

        public ICheese CreateCheese()
        {
            return new MozzarellaCheese();
        }

        public ISnacks CreateSnack( ISnacks snack )
        {
            return snack;
        }
    }
}
